package com.example.prodecttest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description: 设备图片
 * @author: fan
 * @date: 2022/2/18 10:46
 * @version: 1.0
 */
@Data
@TableName("equipment_image")
public class EquipmentImage {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("设备id")
    private Integer equipmentId ;
    @ApiModelProperty("访问路径")
    private String url;
    @ApiModelProperty("位置")
    private Integer position ;
    @ApiModelProperty("是否主图")
    private Integer isMaster;

}
